#ifndef CGMATERIAL_H
#define CGMATERIAL_H
#include "cgcolor.h"

class CgMaterial
{
public:
    CgMaterial();
    CgMaterial(CgColor ambient, CgColor diffuse, CgColor specular);
    CgMaterial(const CgMaterial &material);
    CgMaterial& operator=(const CgMaterial &material);

    void set_ambient(CgColor ambient);
    void set_diffuse(CgColor diffuse);
    void set_specular(CgColor specular);
    CgColor ambient() const;
    CgColor diffuse() const;
    CgColor specular() const;

private:
    CgColor ambient_, diffuse_, specular_;
};

#endif // CGMATERIAL_H
